package com.cswangdao.service;

import com.cswangdao.domain.dto.TopicPageDTO;
import com.cswangdao.domain.model.MarketTopic;
import com.cswangdao.domain.vo.TopicDetailVo;
import com.cswangdao.result.PageResult;

import java.util.List;

public interface TopicService {
    PageResult<MarketTopic> pageQueryInfo(TopicPageDTO pageDTO);

    TopicDetailVo queryById(String id);

    void update(MarketTopic topic);

    void addTopic(MarketTopic topic);

    void delete(Integer id);

    void batchDelete(List<Integer> ids);
}
